function Cget_URL(Name){
	var Sint= (document.URL.indexOf(Name,0)+Name.length+1);
	if (Sint < Name.length+1) return "";
		return document.URL.substring(Sint);
	return "";
}

function Cget_URL2(Name){
	var Sint= (parent.document.URL.indexOf(Name,0)+Name.length+1);
	if (Sint < Name.length+1) return "";
		return parent.document.URL.substring(Sint);
	return "";
}


if(document.URL.substring(0,4) != 'file')
{
var s_day = new Date();

if (typeof(parent.document) != "unknown")
{
	var Cboy_url = parent.document.URL;
	var log_ref_CR = Cget_URL2('_CR_');
}
else
{
	var Cboy_url = "none";
	var log_ref_CR = Cget_URL('_CR_');
}

if(document.referrer == Cboy_url)
	var log_ref=parent.document.referrer;
else
	var log_ref=document.referrer;

if (log_ref_CR !="")
	log_ref = log_ref_CR

var user_time=s_day.getFullYear()+"-"+(s_day.getMonth()+1)+"-"+s_day.getDate()+" "+s_day.getHours()+":"+s_day.getMinutes()+":"+s_day.getSeconds();

var user_zone=s_day.getTimezoneOffset()/60;
var user_ss=screen.width+"*"+screen.height;
var user_sc=screen.colorDepth;
var java_ab=(navigator.javaEnabled()==true)?"y":"n";

var str="<img src='http://www.car7.co.kr/statistics/static.php?image=0";
str+="&ut="+escape(user_time)+"&uz="+escape(user_zone)+"&uss="+escape(user_ss)+"&usc="+escape(user_sc);
str+="&ja="+escape(java_ab)+"&lr="+escape(log_ref)+"&lu="+escape(document.URL);
str+="' border=0 height=0 width=0>";

document.write("<a href=http://www.car7.co.kr target=_blank>"+str+"</a><BR>");

//document.write(escape(user_time));
//document.write("<br>");
//document.write(escape(user_zone));
//document.write("<br>");
//document.write(escape(user_ss));
//document.write("<br>");
//document.write(escape(user_sc));
//document.write("<br>");
//document.write(escape(java_ab));
//document.write("<br>");
//document.write(escape(log_ref));
//document.write("<br>");
//document.write(escape(document.URL));
//document.write("<br>");
//document.write(str);
}
